SLES 11 SP4
Sponsored Link

Chroot Environment
2015/12/02
  Enable Chroot Environment.
It's simply install chroot packge.
dlp:~ #
zypper -n install bind-chrootenv
# named.conf is moved to the follows

dlp:~ #
ll /var/lib/named/etc

total 16
-rw-r--r-- 1 root root   355 Apr 25  2015 localtime
-rw-r--r-- 1 root root  1346 Dec  3 09:22 named.conf
-rw-r--r-- 1 root named    0 Dec  3 09:31 named.conf.include
drwxr-xr-x 2 root root  4096 Dec  3 09:25 named.d
-rw-r----- 1 root named  141 Dec  2 17:43 rndc.key

# links of zone files are created like follows

dlp:~ #
ll /var/lib/named/var/lib/named

lrwxrwxrwx 1 root root 5 Nov 20 15:56 /var/lib/named/var/lib/named -> ../..
 
Tweet